<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html>
<html lang="zh-cmn-Hans" class="wide wow-animation smoothscroll scrollTo">
  <head>
    <?php include template("layouts","header"); ?>
  </head>
  <body>
    <!-- Page-->
    <div class="page text-center">
      <!-- Page Header-->
      <header class="page-head">
        <?php include template("layouts","navbar"); ?>
      </header>
      <?php include template("layouts","breadcrumb"); ?>

      <!-- Page Content-->
      <main class="page-content section-85 section-sm-0">
        <!-- Departments-->
        <section>
          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=dad9aa866ca9e401c2c33b15359a6a19&action=lists&catid=%24catid&num=4&siteid=%24siteid&order=listorder+DESC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>$catid,'siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'4',));}?>
          <div class="shell">
            <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
            <div class="range range-xs-center range-sm-<?php echo ($n%2===0)?'right':'left'?> offset-top-0">
              <div class="cell-xs-10 cell-sm-6 section-image-aside section-image-aside-<?php echo ($n%2===0)?'left':'right'?> text-center text-sm-left">
                <div style="background-image: url(<?php echo $r['thumb'];?>)" class="section-image-aside-img veil reveal-sm-block"></div>
                <div class="section-image-aside-body section-sm-bottom-66 section-sm-top-110 inset-md-<?php echo ($n%2===0)?'left':'right'?>-93">
                  <h3><?php echo $r['title'];?></h3>
                  <hr class="divider divider-lg hr-sm-left-2 bg-java">
                  <div class="offset-top-34 offset-md-top-60">
                    <?php echo $r['description'];?>
                  </div>
                  <div class="offset-top-30"><a href="<?php echo $r['url'];?>" class="btn btn-ellipse btn-java">了解更多</a></div>
                </div>
              </div>
            </div>
            <?php $n++;}unset($n); ?>
          </div>
          <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        </section>
      </main>

      <?php include template("layouts","footer"); ?>
    </div>
    <?php include template("layouts","global"); ?>
    <?php include template("layouts","javascript"); ?>
  </body>
</html>
